package cn.ruituo.adv4;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
public class FileSize {
    public static void main(String[] args) throws Exception {
        File f=new File("E:\\迅雷下载\\HDP_3.0.1_virtualbox_181205.ova");
        System.out.println(f.length());
        FileInputStream fin=new FileInputStream(f);
        System.out.println(fin.available()+"可用");

    }
}
